package com.soma.game.service;

import com.soma.game.entity.GameScore;
import com.soma.game.entity.GameScoreExample;
import com.soma.game.model.RankUserVo;

import java.util.List;
import java.util.Map;

public interface GameScoreService extends BaseService<GameScore, GameScoreExample> {
    Map<String, Boolean> saveResult(Long uid, Long gameId, Long score);

    GameScore getRecord(Long uid, Long gameId);

    void clearRecord(Long uid, Long gameId);

    List<RankUserVo> getRankUserVos(Long gameId, List<Long> uidList, Long uid);

    List<Long> getYesterdayUsers();

}